package com.entities.projectversion.actionscript;

import com.core.ui.actionscript.ActionScriptParser;

public class ActionScriptParserProjectVersionAdd
        extends ActionScriptParser {

	private String projectId = null;



	public void setProjectId ( String value ) {

		projectId = value;
	}



	public String parseActionScriptParam ( com.model.KeyValue scriptParam ) {

		String result = null;
		if ( "PROJECTID".equalsIgnoreCase(scriptParam.getUserInfo()) ) {
			result = String.format("projectId=%s", this.projectId);
		} else {
			result = scriptParam.getValue();
		}
		return result;
	}



	public String entityIdentifierName () {

		return "id";
	}

}
